﻿using System;
class ComparingFloatingPoint
{
    static void Main()
    {
        float FirstNumber;
        float SecondNumber;
        FirstNumber = float.Parse(Console.ReadLine());
        SecondNumber = float.Parse(Console.ReadLine());
        bool result = (FirstNumber == SecondNumber);
        Console.WriteLine(result);
        Console.ReadLine();
    }
}

